import request from '@/utils/request'

// 查询测试001列表
export function listTest001(query) {
  return request({
    url: '/conf/test001/list',
    method: 'get',
    params: query
  })
}

// 查询测试001详细
export function getTest001(cid) {
  return request({
    url: '/conf/test001/' + cid,
    method: 'get'
  })
}

// 新增测试001
export function addTest001(data) {
  return request({
    url: '/conf/test001',
    method: 'post',
    data: data
  })
}

// 修改测试001
export function updateTest001(data) {
  return request({
    url: '/conf/test001',
    method: 'put',
    data: data
  })
}

// 删除测试001
export function delTest001(cid) {
  return request({
    url: '/conf/test001/' + cid,
    method: 'delete'
  })
}
